<template>
  <div>
    <van-list :finished="finished" finished-text="没有更多了">
      <van-cell
        v-for="item in arr"
        :key="item"
        :title="item"
        @click="cellClick(item)"
      />
    </van-list>
  </div>
</template>
 
<script>
export default {
  name: "",
  props: ["arr"],
  data() {
    return {
      finished: true,
    };
  },
  methods: {
    cellClick(item) {
      this.$emit("cellClick", item);
    },
  },
};
</script>
 
<style>
</style>